package tec;

final class Repos extends PassagerAbstrait {

	public Repos(String nom, int destination, TypeComportement comportement){
		super(nom, destination, comportement);
	}

	protected void choixPlaceMontee(Bus bus){
		if(bus.aPlaceAssise())
			bus.demanderPlaceAssise(this);
		else if (bus.aPlaceDebout())
			bus.demanderPlaceDebout(this);
	}
}
